package com.valkyries.jhhj.domain;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 角色对象 role
 */
@Data
@Table("jhhj_role")
public class Role implements Serializable {

    /**
     * 角色id
     */
    @Id(keyType = KeyType.Auto)
    private Long roleId;

    /**
     * 角色名称
     */
    private String roleName;

    /**
     * 创建时间
     */
    @Column(onInsertValue = "now()")
    private Date createTime;

    /**
     * 更新者
     */
    private String updater;

    /**
     * 更新时间
     */
    @Column(onUpdateValue = "now()")
    private String updater_time;

    /**
     * 备注
     */
    private String remark;
}
